/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2204 - Abstract1Demo
 * <p>Powered by webrx On 2022-09-09 11:22:09
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Abstract1Demo {
    public static void main(String[] args) {
        Abstract1 ab = new Abstract1() {

            @Override
            public int pf(int i) {
                return i * i;
            }
        };

        System.out.println(ab.pf(3));
        System.out.println(ab.lf(3));
    }
}
